package com.example.minademo.entity;

public class ErrorCode {

    public static final int OK = 200;

    //用户相关
    public static class User{
        public static final int CODE_NAME_EXIST = 201;//用户名已存在
        public static final int CODE_REGISTER_FALSE = 202;//注册失败
        public static final int CODE_LOGIN_FAIL = 203;//登录失败
        public static final int CODE_USER_NOT_EXIST = 204;//用户不存在
    }

    public static class Shot{
        public static final int CODE_BIND_USER_FAIL = 301;//绑定用户失败
        public static final int CODE_USER_OFFLINE = 302;//被控制的用户不在线
        public static final int CODE_SAVE_SHOT_FAIL = 303;//保存截图失败
        public static final int CODE_USER_HAS_BINDED = 304;//用户已绑定
    }

}
